package com.zimin.cloud.system;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zimin
 */
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages= {"com.zimin"})
@EnableFeignClients(basePackages = {"com.zimin.cloud.*.api"})
public class SystemApplication {


    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class,args);
    }

}
